<!DOCTYPE html>
<html >
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="/chess/play/" method="post" >
        {% csrf_token %}
        <input type="text" placeholder="输入房间名" name="room_name"><br>
        <input type="text" placeholder="输入用户名" name="user_name"><br>
        <input type="radio" name="color" value="white">白子
        <input type="radio" name="color" value="black">黑子<br>
        <input type="submit" value="提交">
    </form>
</body>
</html>